package com.qidian.mes.pojo;

/**
 * @Author: CoolPro
 * @Description: BOM组成实体
 * @Time: 2024-04-08 14:57
 **/

public class MaterialBOM {
    private Integer matId;//物料的ID
    private Integer proId;//产品的ID
//    private Integer bomId;//BOM的ID
    private String unit;//单位名称
    private String name;//组成的名字
    private Integer orderId;//工单ID
    private String model;//组成产品的型号
    private String comments;//备注
    private Double prop;//比例

    public MaterialBOM() {
    }

    @Override
    public String toString() {
        return "MaterialBOM{" +
                "matId=" + matId +
                ", proId=" + proId +
//                ", bomId=" + bomId +
                ", name='" + name + '\'' +
                ", orderId=" + orderId +
                ", comments='" + comments + '\'' +
                ", prop=" + prop +
                '}';
    }

    public Integer getMatId() {
        return matId;
    }

    public void setMatId(Integer matId) {
        this.matId = matId;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

//    public Integer getBomId() {
//        return bomId;
//    }
//
//    public void setBomId(Integer bomId) {
//        this.bomId = bomId;
//    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Double getProp() {
        return prop;
    }

    public void setProp(Double prop) {
        this.prop = prop;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }
}
